package com.itheima.object;

public class Test2 {
    public static void main(String[] args) {
        String s1 = "abc";
        StringBuilder s2 = new StringBuilder("abc");
        //类型不同肯定是false
        System.out.println(s1.equals(s2));
        System.out.println(s2.equals(s1));
    }
}
